package com.me.modules.sla.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.me.modules.sla.dao.SlaTagartDao;
import com.me.modules.sla.entity.SlaTagartEntity;
import com.me.modules.sla.service.SlaTagartService;



@Service("slaTagartService")
public class SlaTagartServiceImpl implements SlaTagartService {
	@Autowired
	private SlaTagartDao slaTagartDao;

	@Override
	public SlaTagartEntity queryObject(Long id){
		return slaTagartDao.queryObject(id);
	}

	@Override
	public List<SlaTagartEntity> queryList(Map<String, Object> map){
		return slaTagartDao.queryList(map);
	}

    @Override
    public List<SlaTagartEntity> queryListByBean(SlaTagartEntity entity) {
        return slaTagartDao.queryListByBean(entity);
    }

	@Override
	public int queryTotal(Map<String, Object> map){
		return slaTagartDao.queryTotal(map);
	}

	@Override
	public int save(SlaTagartEntity slaTagart){


		return slaTagartDao.save(slaTagart);
	}

	@Override
	public int update(SlaTagartEntity slaTagart){
        return slaTagartDao.update(slaTagart);
	}

	@Override
	public int delete(Long id){
        return slaTagartDao.delete(id);
	}

	@Override
	public int deleteBatch(Long[] ids){
        return slaTagartDao.deleteBatch(ids);
	}

}
